package nav;

import java.awt.Point;
import java.util.LinkedList;

public class Template {

	private String name;
	private Recognizer recognizer;
	private LinkedList<Point> list;

	public Template(String name, LinkedList<Point> l, Recognizer r) {
		this.name = name;
		recognizer = r;
		list = l;

		list = recognizer.resample(list, 64);
		list = recognizer.rotateToZero(list);
		list = recognizer.scaleToSquare(list, 250);
		list = recognizer.translateToOrigin(list);
	}

	public String getName() {
		return name;
	}

	public LinkedList<Point> getList() {
		return list;
	}
}
